/**
 * 
 */
package io.dora.rpc;

import java.io.Serializable;

/**
 * RPC响应
 * 
 * @author zhaohongbo
 *
 */
public class RpcResponse implements Serializable {
	
	private static final long serialVersionUID = 1L;

	/** 响应ID与请求ID相同 */
	private long id;
	
	/** 响应数据 */
	private Object data;
	
	public RpcResponse(long id) {
		this.id = id;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
	
}
